using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace InsertVideo
{
    public partial class frmHelp : Form
    {
        public frmHelp()
        {
            InitializeComponent();
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void linkYouTube_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            GoToWebPage(txbxYouTube.Text);
        }

        private void linkGoogle_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            GoToWebPage(txbxGoogle.Text);
        }

        private void linkSoapBox_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            GoToWebPage(txbxSoapBox.Text);
        }

        private void linkYahoo_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            GoToWebPage(txbxYahoo.Text);
        }

        private void linkMySpace_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            GoToWebPage(txbxMySpace.Text);
        }

        private void linkMyVideo_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            GoToWebPage(txbxMyVideo.Text);
        }

        private void linkMuveeMix_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            GoToWebPage(txbxMuveeMix.Text);
        }

        private void linkBrightCove_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            GoToWebPage(txbxBrightCove.Text);
        }

        private void linkDivShare_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            GoToWebPage(txbxDivShare.Text);
        }

        private void GoToWebPage(string p)
        {
            System.Diagnostics.Process process = new System.Diagnostics.Process();
            process.StartInfo.UseShellExecute = true;
            process.StartInfo.FileName = p;
            process.Start();
        }
    }
}